package rocket.client;

import javax.swing.JPanel;
import javax.swing.JList;
import java.awt.Canvas;
import java.awt.Button;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JComboBox;
import javax.swing.ImageIcon;
import javax.swing.SwingConstants;

public class ClientRequestAppointment extends JPanel {

	/**
	 * Create the panel.
	 */
	public ClientRequestAppointment() {
		setLayout(null);
		
		ImagePanel panel = new ImagePanel(new ImageIcon("/rocket/images/pokemonBackground.png").getImage());
		panel.setBounds(0, 0, 800, 600);
		add(panel);
		
		JButton button = new JButton("Back");
		button.setBounds(55, 500, 117, 25);
		add(button);
		
		JButton button_1 = new JButton("Logout");
		button_1.setBounds(55, 550, 117, 25);
		add(button_1);
		
		JLabel lblRequestAppointment = new JLabel("Request Appointment");
		lblRequestAppointment.setFont(new Font("Dialog", Font.BOLD, 20));
		lblRequestAppointment.setBounds(284, 12, 250, 25);
		add(lblRequestAppointment);
		
		JLabel lblSelectCity = new JLabel("Select City");
		lblSelectCity.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectCity.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectCity.setBounds(265, 100, 100, 20);
		add(lblSelectCity);
		
		JLabel lblSelectDoctor = new JLabel("Select Doctor");
		lblSelectDoctor.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectDoctor.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectDoctor.setBounds(245, 154, 120, 15);
		add(lblSelectDoctor);
		
		JLabel lblSelectDate = new JLabel("Select Date");
		lblSelectDate.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectDate.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectDate.setBounds(265, 200, 100, 15);
		add(lblSelectDate);
		
		JLabel lblSelectTime = new JLabel("Select Time");
		lblSelectTime.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectTime.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectTime.setBounds(265, 250, 100, 15);
		add(lblSelectTime);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(400, 100, 150, 25);
		add(comboBox);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setBounds(400, 150, 150, 25);
		add(comboBox_1);
		
		JComboBox comboBox_2 = new JComboBox();
		comboBox_2.setBounds(400, 200, 150, 25);
		add(comboBox_2);
		
		JComboBox comboBox_3 = new JComboBox();
		comboBox_3.setBounds(400, 250, 150, 25);
		add(comboBox_3);
		
		JList list = new JList();
		list.setBounds(400, 300, 150, 150);
		add(list);
		
		JLabel lblSelectPok = new JLabel("Select Pokémon");
		lblSelectPok.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectPok.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectPok.setBounds(232, 300, 133, 15);
		add(lblSelectPok);
		
		JButton btnSubmit = new JButton("Submit");
		btnSubmit.setBounds(330, 485, 100, 25);
		add(btnSubmit);

	}
}
